package org.tim.robot.fenixos;

import java.util.*;
import java.io.*;

/**
 * A class that represents the FenixOS system
 * 
 * This class can be used to get the system properties, its role is identical to the java.lang.System class
 * @author Tim Fennis
 * @since FenixOS1.0
 */
public class FenixOS {
	private static Properties properties = null;
	public final static InputStream in = System.in;
	public final static OutputStream out = System.out;
	public final static OutputStream err = System.out;
	
	private FenixOS() {
	}
	
	public static Properties getProperties() {
		if ( properties == null ) {
			properties = new Properties();
		}
		
		return properties;
	}
	
	public static void setProperties(Properties p) {
		properties = p;
	}
}